package com.erb.service.hzg.impl;

import com.erb.entity.*;
import com.erb.mapper.LoanMakeMapper;
import com.erb.service.hzg.LoanMakeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class LoanMakeServiceImpl implements LoanMakeService {
	@Resource
	LoanMakeMapper makedao;

	@Override
	public List<Map> makelist() {
		return makedao.makelist();
	}

	@Override
	public int auditupd(int id, String maxmoney, int state) {
		return makedao.makeupd(id, maxmoney, state);
	}

	@Override
	public int selProcount() {
		return makedao.selProcount();
	}

	@Override
	public List<Apply> selApplyPage(Pager page) {
		return makedao.selApplyPage((page.currPage - 1) * page.pageSize, page.pageSize);
	}

	@Override
	public int sellimProcount() {
		return makedao.sellinmProcount();
	}

	@Override
	public List<LoanUser> selApplylimPage(Pager Pager) {
		return makedao.selApplylimPage((Pager.currPage - 1) * Pager.pageSize, Pager.pageSize);
	}

	@Override
	public List<LoanUser> limitshow() {
		return makedao.limitshow();
	}

	@Override
	public LoanUser seluid(int id) {
		return makedao.seluid(id);
	}

	@Override
	public List<Carimf> idshowlist(int uid) {
		return makedao.idshowlist(uid);
	}

	@Override
	public List<Houseimf> Houselist(int id) {
		return makedao.Houselist(id);
	}

	@Override
	public int updlimit(int id, String limitmoney, int assessstate) {
		return makedao.updlimit(id, limitmoney, assessstate);
	}

}
